package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>
 * Title: OAOnlineShop
 * </p>
 * <p>
 * Description: 网络物资采购模块实体类
 * </p>
 * <p>
 * Company: tongking
 * </p>
 * 
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name = ConstSysParam.MODULE_OA_ONLINESHOP)
public class OAOnlineShop extends BaseOADomain implements BaseFlowDomainInf {

	

	// 具体事项(父类name)

	// 填表日期
	// @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	// private Date apply_date;

	// 申购科室（父类apply_deptid）

	@Transient
	private String purchase_object;

	@Transient
	private String exist_object;

	// 科室负责人审核（父类dept_audit,dept_content）

	public String getPurchase_object() {
		return purchase_object;
	}

	public void setPurchase_object(String purchase_object) {
		this.purchase_object = purchase_object;
	}

	public String getExist_object() {
		return exist_object;
	}

	public void setExist_object(String exist_object) {
		this.exist_object = exist_object;
	}

	// 科室申购理由(父类apply_content)
    
	//规格
	private String format;

	//价格
	private Double price;
		
	// 预估费用
	@Column
	private Double pre_price;

	// 品名
	private String new_device_name;

	// 信息科审核 (dept_content)
	// 分管领导审核 (chargeLeader_content)
	// 院长审核
	

	// 附件
	@Column(length = 200)
	private String add_file;
	
	
	
	public Double getPre_price() {
		return pre_price;
	}

	public void setPre_price(Double pre_price) {
		this.pre_price = pre_price;
	}
	

	public String getAdd_file() {
		return add_file;
	}

	public void setAdd_file(String add_file) {
		this.add_file = add_file;
	}

	public String getNew_device_name() {
		return new_device_name;
	}

	public void setNew_device_name(String new_device_name) {
		this.new_device_name = new_device_name;
	}	

	public Date getChargeLeader_time() {
		return chargeLeader_time;
	}

	public void setChargeLeader_time(Date chargeLeader_time) {
		this.chargeLeader_time = chargeLeader_time;
	}

	

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
    
	
}